package com.shycloud.mido.music.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.music.vo.MusicErrorVO;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shycloud.mido.music.domain.MisMusicError;
import com.shycloud.mido.music.mapper.MisMusicErrorMapper;
import com.shycloud.mido.music.service.MisMusicErrorService;

@Service
@AllArgsConstructor
public class MisMusicErrorServiceImpl extends ServiceImpl<MisMusicErrorMapper, MisMusicError> implements MisMusicErrorService {

	/** 曲目报错 mapper */
	private MisMusicErrorMapper misMusicErrorMapper;

	/**
	 * 获取曲目报错信息
	 *
	 * @param page
	 * @param memberId
	 * @return com.shycloud.mido.music.vo.MusicErrorVO
	 * @author nianhua.jiang
	 * @date 2020/6/29 16:13
	 */
	@Override
	public IPage<MusicErrorVO> getMusicError(Page page, String memberId) {
		return misMusicErrorMapper.getMusicError(page, memberId);
	}
}
